package day17.feifei;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.lang.reflect.Array;
import java.util.Arrays;

public class Demo01 {
    public static void main(String[] args) throws IOException {
        File file=new File("D:\\file\\work\\a.txt");
        FileReader fr=new FileReader(file);
//        int read=fr.read();
//        System.out.println((char)read);

        char[] chars=new char[1024];
        int read2=fr.read(chars);
        System.out.println(Arrays.toString(chars));
        System.out.println(read2);

    }
}
